﻿using System.Text.Json.Serialization;


namespace Xc.DataAccess.AepCoapCore.Models
{
    /// <summary>
    /// 更新设备模型
    /// </summary>
    public class UpdateDeviceModel
    {
        /// <summary>
        /// 设备名称  必填
        /// </summary>
        [JsonPropertyName("deviceName")]
        public string DeviceName { get; set; }
        /// <summary>
        /// 必填 操作者
        /// </summary>
        [JsonPropertyName("operator")]
        public string Operator { get; set; } = "aep";
        /// <summary>
        /// 产品ID  必填
        /// </summary>
        [JsonPropertyName("productId")]
        public int ProductId { get; set; }
        [JsonPropertyName("other")]
        public OtherParas Other { get; set; } = new OtherParas();
    }
}
